package JavaBasis;

import java.util.Scanner;

public class HomeWork01 {
	public static void main(String[] args){
		Scanner sc1 = new Scanner(System.in);
		Scanner sc2 = new Scanner(System.in);
		Scanner sc3 = new Scanner(System.in);
		
		int num1 = sc1.nextInt();
		int num2 = sc2.nextInt();
		int num3 = sc3.nextInt();
		
		System.out.println(num1>num2?(num1>num3?num1:num3):(num2>num3?num2:num3));
	}
}
